package net.hnedu.map;

public class ResResource {
  public ResResource() {
  }
  private long resId;
  private int userId;
  private String resTitle;
  private String resCreator;
  private String subject;
  private String format;
  private String language;
  private String type;
  private String audience;
  private String resKeyword;
  private String resDescription;
  private String resPublisher;
  private java.util.Date resTime;
  private String resIdentifier;
  private String resRights;
  private String resView;
  private int siteId;
  private int resWidth;
  private int resHeight;
  private String resAudit;
  private String resIdea;
  private String resBackword;

  public String getAudience() {
    return audience;
  }
  public void setAudience(String audience) {
    this.audience = audience;
  }
  public String getFormat() {
    return format;
  }
  public void setFormat(String format) {
    this.format = format;
  }
  public String getLanguage() {
    return language;
  }
  public void setLanguage(String language) {
    this.language = language;
  }
  public String getResCreator() {
    return resCreator;
  }
  public void setResCreator(String resCreator) {
    this.resCreator = resCreator;
  }
  public String getResDescription() {
    return resDescription;
  }
  public void setResDescription(String resDescription) {
    this.resDescription = resDescription;
  }
  public long getResId() {
    return resId;
  }
  public void setResId(long resId) {
    this.resId = resId;
  }
  public String getResIdentifier() {
    return resIdentifier;
  }
  public void setResIdentifier(String resIdentifier) {
    this.resIdentifier = resIdentifier;
  }
  public String getResKeyword() {
    return resKeyword;
  }
  public void setResKeyword(String resKeyword) {
    this.resKeyword = resKeyword;
  }
  public String getResPublisher() {
    return resPublisher;
  }
  public void setResPublisher(String resPublisher) {
    this.resPublisher = resPublisher;
  }
  public String getResRights() {
    return resRights;
  }
  public void setResRights(String resRights) {
    this.resRights = resRights;
  }
  public java.util.Date getResTime() {
    return resTime;
  }
  public void setResTime(java.util.Date resTime) {
    this.resTime = resTime;
  }
  public String getResTitle() {
    return resTitle;
  }
  public void setResTitle(String resTitle) {
    this.resTitle = resTitle;
  }
  public String getResView() {
    if(resView == null || resView.length() == 0) {
      return "nopic.gif";
    }
    return resView;
  }
  public void setResView(String resView) {
    this.resView = resView;
  }
  public int getSiteId() {
    return siteId;
  }
  public void setSiteId(int siteId) {
    this.siteId = siteId;
  }
  public String getSubject() {
    return subject;
  }
  public void setSubject(String subject) {
    this.subject = subject;
  }
  public String getType() {
    return type;
  }
  public void setType(String type) {
    this.type = type;
  }
  public int getUserId() {
    return userId;
  }
  public void setUserId(int userId) {
    this.userId = userId;
  }
  public int getResHeight() {
    return resHeight;
  }
  public void setResHeight(int resHeight) {
    this.resHeight = resHeight;
  }
  public int getResWidth() {
    return resWidth;
  }
  public void setResWidth(int resWidth) {
    this.resWidth = resWidth;
  }
  public String getResAudit() {
    return resAudit;
  }
  public void setResAudit(String resAudit) {
    this.resAudit = resAudit;
  }
  public String getResIdea() {
    return resIdea;
  }
  public void setResIdea(String resIdea) {
    this.resIdea = resIdea;
  }
  public String getResBackword() {
    return resBackword;
  }
  public void setResBackword(String resBackword) {
    this.resBackword = resBackword;
  }

}
